#ifndef HIDEFILES_H
#define HIDEFILES_H

#include <QMainWindow>
#include <QModelIndex>

namespace Ui {
    class HideFiles;
}

class HideFiles : public QMainWindow
{
    Q_OBJECT

public:
    explicit HideFiles(QWidget *parent = 0);
    ~HideFiles();
    void ReadFile();
    void WriteFile ();
    QString GetMajorNumber();
    void ScanDir (QString, QString);
    void ShowByMask(QString, QString);
    int CheckSysFile(QString Path);

private slots:

    void on_PatheslistView_clicked(QModelIndex index);
    void on_BrowseButton_clicked();
    void on_DirMode_stateChanged(int );
    void on_HideAll_clicked();
    void on_ShowAll_button_clicked();
    void closeEvent(QCloseEvent*);
    void on_Hide_Button_clicked();

    void on_Show_Button_clicked();

private:
    Ui::HideFiles *ui;
};

#endif // HIDEFILES_H
